#include <iostream>
#include <string>
using namespace std;

int main(int argc,char*argv[])
{
    string str1,str2;
    cout<<"please input str1:"<<endl;
    cin>>str1;
    cout<<"please input str2:"<<endl;
    cin>>str2;

    string bigger = str1>str2?str1:str2;
    cout<<"the bigger one is:"<<bigger<<endl;

    string longer = str1.size() > str2.size()?str1:str2;
    cout<<"the longer one is:"<<longer<<endl;
    
    
    

    return 0;
}